﻿#region 文件信息

// FileName: SoCafeShop/Sohobloo.SoMcCoffee.Public/OperationResult.cs
// Author: Sohobloo
// CreateTime: 2013/06/28 20:31
// UpdateTime: 2013/06/30 3:41

#endregion

namespace Sohobloo.SoMcCoffee.Public.OperationResult
{
    public class OperationResult
    {
        #region 属性

        public object AppendData { get; set; }

        public string Message { get; set; }

        public OperationResultType ResultType { get; set; }

        #endregion 属性

        #region 构造

        public OperationResult(OperationResultType resultType)
        {
            ResultType = resultType;
        }

        public OperationResult(OperationResultType resultType, string message)
            : this(resultType)
        {
            Message = message;
        }

        public OperationResult(OperationResultType resultType, string message, object appendData)
            : this(resultType, message)
        {
            AppendData = appendData;
        }

        #endregion 构造
    }
}